package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;
import com.qk.entity.dto.activity.ActivityDTO;

import java.util.List;

/**
 * @author fantuan
 * @created 2025/10/9 10:55
 * @description
 */
public interface ActivityService {
    PageResult<Activity> page(ActivityDTO dto);

    void deleteById(Integer id);

    void add(Activity activity);

    Activity getActivityById(Integer id);

    void update(Activity activity);

    List<Activity> listByType(Integer type);
}
